using System;
using UnityEngine;
using UnityEngine.UI;

namespace CGF
{
    //该脚本自动生成或覆盖，不可编辑
    public partial class CommAssets
    {   
		public I18N i18n;

        public Reference reference { get; private set; }
        public Action onProsBindCompleted;
        public bool isProsBindCompleted;
        
        public void BindProperties(Transform transform)
        {   
            reference = transform.GetComponent<Reference>();
            if(!reference)return;
            int nodeIndex = 0;
			i18n = transform.GetComponent<I18N>();
            isProsBindCompleted = true;
            onProsBindCompleted?.Invoke();
        }
        
        public void SetProsBindCompletedAction(Action action)
        {
            if (isProsBindCompleted)
            {
                action?.Invoke();
            }
            else
            {
                onProsBindCompleted = action;
            }
        }

		public string I18N_passwd_must_letter8 { get { return i18n.GetTextByKey("passwd_must_letter8"); } }
		public string I18N_detail { get { return i18n.GetTextByKey("detail"); } }
		public string I18N_vip0_name { get { return i18n.GetTextByKey("vip0_name"); } }
		public string I18N_vip1_name { get { return i18n.GetTextByKey("vip1_name"); } }
		public string I18N_vip2_name { get { return i18n.GetTextByKey("vip2_name"); } }
		public string I18N_vip3_name { get { return i18n.GetTextByKey("vip3_name"); } }
		public string I18N_vip4_name { get { return i18n.GetTextByKey("vip4_name"); } }
		public string I18N_vip5_name { get { return i18n.GetTextByKey("vip5_name"); } }
		public string I18N_recharge_success { get { return i18n.GetTextByKey("recharge_success"); } }
		public string I18N_sent_success { get { return i18n.GetTextByKey("sent_success"); } }
		public string I18N_cannot_inc_spec_char { get { return i18n.GetTextByKey("cannot_inc_spec_char"); } }
		public string I18N_withdraw_min_tip { get { return i18n.GetTextByKey("withdraw_min_tip"); } }
		public string I18N_copy_success { get { return i18n.GetTextByKey("copy_success"); } }
		public string I18N_no_records { get { return i18n.GetTextByKey("no_records"); } }
		public string I18N_send_code { get { return i18n.GetTextByKey("send_code"); } }
		public string I18N_preparing { get { return i18n.GetTextByKey("preparing"); } }
		public string I18N_running { get { return i18n.GetTextByKey("running"); } }
		public string I18N_expired { get { return i18n.GetTextByKey("expired"); } }
		public string I18N_price_default { get { return i18n.GetTextByKey("price_default"); } }
		public string I18N_price_vip { get { return i18n.GetTextByKey("price_vip"); } }
		public string I18N_wallet_balance { get { return i18n.GetTextByKey("wallet_balance"); } }
		public string I18N_network_error { get { return i18n.GetTextByKey("network_error"); } }
		public string I18N_pre_income { get { return i18n.GetTextByKey("pre_income"); } }
		public string I18N_level_not_enough { get { return i18n.GetTextByKey("level_not_enough"); } }
		public string I18N_account_canot_space { get { return i18n.GetTextByKey("account_canot_space"); } }
		public string I18N_username_length_invalid { get { return i18n.GetTextByKey("username_length_invalid"); } }
		public string I18N_nickname { get { return i18n.GetTextByKey("nickname"); } }
		public string I18N_curr_passwd_wrong { get { return i18n.GetTextByKey("curr_passwd_wrong"); } }
		public string I18N_invalid_cformat { get { return i18n.GetTextByKey("invalid_cformat"); } }
		public string I18N_login_other_device { get { return i18n.GetTextByKey("login_other_device"); } }
    }
}
